Basic dyestuffs

ABSTRACT

Dyestuffs of the formula ##STR1## wherein F stands for an organic chromophore and 
     Z stands for radicals of the formulae ##STR2## wherein R 1  -R 2  denote hydrogen, alkyl, cycloalkyl, alkenyl, aryl, aralkyl or a heterocyclic structure or 
     R 2  and R 3  represent an optionally substituted amino group or together form a ring or 
     R 1  with R 2  and/or R 3  with R 4  form a ring, 
     A.sup.(-) denotes an anion, 
     Y denotes an anionic group, 
     m denotes 0-2 and 
     n denotes 1-6, 
     and wherein the chromophore and said radicals can carry further substituents, provided that the total number of anionic substituents is smaller than the total number of quaternary and quaternizable amino groups, are used for dyeing cellulose fibres, in particular paper.

The invention relates to the use of dyestuffs of the formula ##STR3## wherein F stands for an organic chromophore and

Z stands for radicals of the formulae ##STR4## wherein R₁ -R₂ denote hydrogen, alkyl, cycloalkyl, alkenyl, aryl, aralkyl, or a heterocyclic structure or

R₂ and R₃ represent an optionally substituted amino group or together form a ring or

R₁ with R₂ and/or R₃ with R₄ form a ring,

A.sup.(-) denotes an anion,

Y denotes an anionic group,

m denotes 0-2 and

n denotes 1-6,

and wherein the chromophore and said radicals can carry further substituents, provided that the toal number of anionic substituents is smaller than the total number of quaternary and quaternisable amino grups, are used for dyeing cellulose fibres, in particular paper.

In the formula (I), an organic chromophore is to be understood as meaning in particular chromophores of azine, azo, triarylmethane, xanthene, thioxanthene, phthalocyanine, carbonyl, benzothioxanthene, coumarin, naphtholactam, isoindolenine, formazan, nitro and cyanine dyestuffs.

Azine dyestuffs is to be understood as meaning bisazine and monoazine dyestuffs such as dioxazine, dithiazine, phenothiazine or phenoxazine dyestuffs; carbonyl dyestuffs is to be understood as meaning those such as indigoids, quinophthalones, anthraquinones, quinacridones or carbocyclic and/or heteropolycyclic aromatic compounds having at least two CO groups, of the type also known in the field of vat dyestuffs.

The organic chromophores can be present in metallised form and be substituted. Examples of such substituents are halogen atoms, such as fluorine, chlorine or bromine, and alkyl, alkoxy, aryl, aryloxy, aralkyl, aralkoxy, amino, alkylamino, arylamino, alkylthio, arylthio, hydroxyl, nitro, cyano and thiocyano groups. Alkyl is to be understood as meaning here and hereinafter in particular radicals having 1 to 4 carbon atoms; aryl is to be understood as meaning in particular phenyl, tolyl, chlorophenyl, methoxy, ethoxyphenyl or naphthyl radicals; and aralkyl is in particular the benzyl radical. Particularly important substituents are also the acyl and the acylamino group. The term acyl encompasses in particular radicals of aromatic carboxylic or sulphonic acids, in particular those of the benzene series or alkanoyl or alkylsulphonyl radicals which are low-molecular, and can contain 1 to 4 carbon atoms, such as the acetyl, benzoyl, p-chlorobenzoyl, p-phenylbenzoyl, benzenesulphonyl or p-toluenesulphonyl radical, and also low-molecular alkylcarbonyl radicals and also sulphonamide or carboxamide groups whose nitrogen atom can be substituted by alkyl or aryl radicals, such as the ethoxycarbonyl, carbamoyl or sulphamoyl radical. These radicals are also preferred radicals of the chromophores of the dyestuffs indicated hereinafter.

The anionic group Y represents for example a phosphoric acid group, a carboxyl group or a sulpho group or a salt form such as the Na, K, Li or ammonium salt of this free acid group.

In the formulae (I) to (III), an alkyl radical is to be understood as meaning in particular a radical having 1 to 6 C atoms and an alkylene radical is to be understood as meaning a radical having 1 to 4 C atoms, in particular 1 or 2.

In the formulae (II) and (III), moreover, aryl and aralkyl preferably stand for phenyl or tolyl and benzyl or phenylethyl respectively, cycloalkyl for cyclopentyl and cyclohexyl, and alkenyl for a radical having 2 to 4 C atoms. A heterocyclic structure is preferably to be understood as meaning a 5- or 6-membered, N, O and/or S-containing ring having one or two hetero atoms.

The substituents are preferably halogen, such as fluorine, chlorine or bromine, C₁ -C₄ --alkoxy, OH, SH, CN, SCN, C₁ -C₄ --alkoxycarbonyl, carboxamide, sulphonamide or amino, and for the rings also C₁ -C₄ --alkyl and nitro.

The rings formed by linking R₁ with R₂, R₃ with R₄ or R₂ with R₃ are preferably 5- or 6-membered and can be condensed with a further ring.

Cations of the group Z of the formula (II) are listed as examples in Table 1.

                  TABLE 1                                                          ______________________________________                                          ##STR5##                                                                      Lines R.sub.1       R.sub.2    R.sub.3 R.sub.4                                 ______________________________________                                         1     H             H          H       H                                       2     H             Alkyl      H       H                                       3     H             "          Alkyl   H                                       4     Alkyl         "          H       H                                       5     "             "          Alkyl   H                                       6     "             "          "       Alkyl                                   7     H             Allyl      H       H                                       8     H             "          Allyl   H                                       9     H             Cycloalkyl H       H                                       10    H             Aryl       H       H                                       11    H             "          Aryl    H                                       12    H             Furfuryl   H       H                                       13    H             2-Thiazoyl H       H                                       14    H              Alkylene        H                                         15    R.sub.5        o-Arylene       R.sub.5                                   16    Alkyl          CR.sub.6CR.sub.7                                                                               Alkyl                                     17    R.sub.5        CR.sub.6N       R.sub.5                                   18    R.sub.5        CR.sub.6 R.sub.7CO                                                                             R.sub.5                                   19    H              CH.sub.2NR.sub.8CH.sub.2                                                                       H                                         20    R.sub.5        COCR.sub.6 R.sub.7CO                                                                           R.sub.5                                   21    R.sub.5        CR.sub.6 CR.sub.7CO                                                                            R.sub.5                                   22    Alkylene             R.sub.6   H                                         23    (CH.sub.2).sub.2O(CH.sub.2).sub.2                                                                   R.sub.6   H                                         24    (CH.sub.2).sub.2NR.sub.5(CH.sub.2).sub.2                                                            R.sub.6   H                                         25    H        NR.sub.8 R.sub.9                                                                               R.sub.5 H                                       26    H        NR.sub.8 R.sub.9                                                                               NR.sub.8 R.sub.9                                                                       H                                       ______________________________________                                    

wherein

R₅ denotes hydrogen or alkyl and

R₆ -R₉ denote hydrogen, alkyl, cycloalkyl, alkenyl, aryl or aralkyl, or

R₆ and R₇ and/or R₈ and R₉ for a ring.

The preferred denotations for alkyl, cycloalkyl, alkenyl, aryl and aralkyl in Table 1 correspond to the abovementioned preferred denotations. Preferred alkylene is ethylene and 1,2- and 1,3-propylene. Preferred o-arylene is o-phenylene.

R₆ and R₇ can jointly form a trimethylene, tetramethylene or pentamethylene bridge, for example for the formation of a 5- or 6-ring. R₈ and R₉ can form together with the N atom for example a pyrrolidine, piperidine, piperazine or morpholine ring.

The anion A.sup.(-) can be any organic and inorganic anion which is customary for cationic dyestuffs. Colourless anions are preferred.

The anion is generally given by the method of preparation and the purification which may have been carried out on the starting materials. However, the anions can also be exchanged in a known manner against other anions. Examples of A.sup.(-) are: halides such as chloride, bromide and iodide, sulphate, hydrogensulphate, methylsulphate, ethylsulphate, amidosulphate, perchlorate, phosphate, hydroxide, formate, acetate, propionate, oxalate, malonate, succinate, maleate, chloroacetate, trichloroacetate, methoxyacetate, ethoxyacetate, lactate, citrate, benzoate, methanesulphonate, ethanesulphonate, benzenesulphonate, p-toluenesulphonate, carbonate, tetrachlorozincate and tetrafluoroborate.

Except for the case of R₁ -R₄ =H, the radicals Z which are shown in Table 1 in cationic form II can also be present in the neutral form (III), the mixtures of both forms can be present in one compound of the formula (I).

Of the dyestuffs of the formula (I), dyestuffs which are particularly suitable for dyeing cellulose fibres, in particular paper, have the formula ##STR6## wherein F' stands for an organic chromophore having at least 4 carbocyclic and/or heterocyclic five- and/or six-rings which can be condensed and be substituted by the radicals mentioned above for chromophores,

Z' denotes the radicals ##STR7## R'₂ and R'₃ denote hydrogen, C₁ -C₄ --alkyl, C₂ -C₄ --alkenyl, cyclohexyl, phenyl or tolyl or

R'₂ and R'₃ together denote ethylene, trimethylene, vinylene or o-phenylene,

A.sup.(-) denotes an anion,

Y' denotes a sulpho or sulphonate group,

m' denotes 0-1 and

n' denotes 1-5, and

the number of sulpho groups is smaller than the number of quaternary and quaternisable amino groups.

Preferred representatives of the organic chromophores F' are: from the group of polycyclic carbonyl dyestuffs--indanthrone, flavanthrone, anthanthrone, pyranthrone, dibenzopyrenequinone, isodibenzopyrenequinone, violanthrone, isoviolanthrone, benzanthrone and thiophenebenzanthrone dyestuffs, anthrimidecarbazoles, phthaloylacridones and nitrogen-containing derivatives of tetracarboxylic acids of naphthalene, of 1,1'-bis-naphthyl and of perylene, isoviolanthrone, violanthrone and the C₁ -- and C₂ --alkyl and alkylene ethers of its 16,17-dihydroxy derivative; cis- and trans-naphthoylenebenzimidazole, 5,5'-bis-naphthyl-1,1',8,8'-tetracarboxylic acid dibenzimidazole and its 6",6"'-dimethyl derivative, N,N'-diarylimides of perylenetetracarboxylic acid in which aryl stands for phenyl, p-tolyl, p-phenomethoxy or p-phenethoxy; 4,4'-dibenzanthronyl and the compounds ##STR8## are particularly noteworthy;

of the phthalocyanines--preferably the unsubstituted basic structures with copper or nickel as central atom, of the indigoids--indigo and thioindigo,

of the xanthene dyestuffs--those of the formula ##STR9## with R₁₀ =H, Cl, Br, COO.sup.⊖ and SO₃⊖, the positive charge of which may be compensated by an external anion A.sup.(-) of the abovementioned denotation;

from the series of azine dyestuffs--dithiazine dyestuffs such as ##STR10## with R₁₁ =H or aryl,

and in particular--dioxazine dyestuffs of the formula (XVII) mentioned hereinafter.

Dyestuffs (VII) and (VIII) can carry formula substituents of the type defined on page 2. The preferred compounds have aryl radicals which stand for phenyl or alkyl- or alkoxy-substituted phenyl,

from the group of the quinophthalone dyestuffs--those of the formula ##STR11## where R₁₂ corresponds to a fused-on benzene ring or a radical ##STR12## with Q₁ =NH, N--alkyl, O or S;

of these, there may be mentioned in particular the compounds ##STR13## and also those compounds of the formula (IX) in which the benzene ring of their indanedione portion is substituted by aryl, in particular by phenyl;

from the area of the azo dyestuffs--monoazo and bisazo dyestuffs which may be present in metallised form. Of these, there may be mentioned in particular symmetric azo dyestuffs of the formula ##STR14## where R₁₂ has the abovementioned denotation, and especially azo dyestuffs of the formulae (XIX) and (XX) listed hereinafter;

from the group of the triarylmethane dyestuffs--those of the formulae (XXI)-(XXIII) mentioned hereinafter.

In the preferred dyestuffs of the formula (IV),

m'=O and

alkylene=methylene or ethylene.

The invention also provides basic dyestuffs of the formula ##STR15## in which F, Y, m and n have the denotation indicated under the formula (I) and Z' has the denotation indicated under the formula (IV) and

A.sup.(-) stands for an anion of the abovementioned denotation.

Of the dyestuffs of the formula (XIII), preference is given to those of the formula ##STR16## wherein F', Y', m' and n' have the denotation mentioned under the formula (IV) and

Z" stands for radicals of the formulae ##STR17## wherein R"₂ and R"₃ denote hydrogen or C₂ -C₃ --alkylene, preferably ethylene.

In the particularly preferred dyestuffs of the formula (XIV),

m'=O and

alkylene=methylene or ethylene.

The invention further provides basic dioxazine dyestuffs of the formula ##STR18## wherein X₁ and X₂ independently of each other denote hydrogen, halogen, alkyl, cycloalkyl, aryl, alkoxy, aryloxy, CN, CONH₂, CONH--alkyl, CON(alkyl)₂, CONH--aryl, COO--alkyl, NH--CO--alkyl, NH--aryl, NH--CO--aryl or NH--CO--heteroaryl and

B₁ and B₂ independently of each other denote a benzene ring or a fused-on ring system having 2 to 4 carbocyclic and/or heterocyclic rings, and

Y, Z, m and n have the denotation indicated under the formula (I),

and the cyclic and acyclic radicals and the rings B₁ and B₂ can carry further substituents, with the proviso that the total number of anionic substituents is smaller than the total number of quaternary and quaternisable amino groups.

The dyestuffs (XVII) dye paper in bright red to blue shades.

The ring systems B₁ and B₂ preferably consist of aromatic 5- and 6-membered rings which are condensed from benzene rings and which can contain heteroatoms such as O, N or S. There may be mentioned as examples (the position x indicates the bond to the oxygen and position y the bond to the nitrogen): ##STR19## where R₁₃ =hydrogen, C₁ -C₄ --alkyl, C₁ -C₄ --alkylcarbonyl, C₁ -C₄ --alkylsulphonyl, benzoyl, phenyl or benzyl.

These ring systems, in addition to the substituents defined in the formula (I) can carry further radicals, in particular the substituents referred to above as preferred.

Of the dioxazine dyestuffs of the formula (XVII) preference is given to those of the formula ##STR20## wherein X'₁ and X'₂ independently of each other denote hydrogen or halogen,

B'₁ and B'₂ independently of each other denote a group from the series benzene, naphthalene, fluorene, phenothiazine, diphenylene sulphide, phenanthrene, anthracene, fluorenone, carbazole or anthraquinone and

n" denotes 2-5 and

Y', Z' and m' have the denotation indicated under the formula (IV).

In the preferred dyestuffs of the formula (XVIII), B'₁ and B'₂ on the one hand and X'₁ and X'₂ on the other are identical.

Of these dioxazines, there may be singled out in turn those where

X'₁ =X'₂ =chlorine,

m'=O and

alkylene=methylene or ethylene.

Of these dyestuffs, a very particular mention should go to those with B'₁ =B'₂ =o-phenylene which can be monosubstituted or disubstituted by Cl, aryl, benzyl, alkoxy, aryloxy, NH--CO--alkyl and NH--CO--aryl, where alkyl and aryl preferably have the previously highlighted denotations, and to those with ##STR21## where R'₁₃ stands for hydrogen, C₁ -C₄ --alkyl, in particular ethyl, C₁ -C₄ --alkylcarbonyl, C₁ -C₄ --alkylsulphonyl or benzyl.

The invention also provides basic azo dyestuffs of the formula ##STR22## wherein D denotes the radical of a diazo component,

K denotes the radical of a coupling component and

p denotes 1 or 2 and

Y, m and n have the denotation indicated under the formula (I) and

Z' has the denotation indicated under the formula (IV) and

the diazo and coupling components can carry further substituents with the proviso that the total number of anionic substituents is smaller than the total number of quaternary and quaternisable amino groups.

In the formula (XIX), in particular

D stands for radicals of diazo components from the series benzene, naphthalene, thiazole, benzothiazole, benzisothiazole, thiadiazole, benzotriazole, fluorene, carbazole, dibenzofuran and dibenzothiophene and

K stands for the radical of a coupling component from the series benzene, naphthalene, pyrazole, pyridine, quinoline and pyrimidine and for the radicals of acylacetic acid or malonic acid derivatives.

The dyestuffs (XIX) dye paper in bright yellow to violet shades.

Of the azo dyestuffs of the formula (XIX), preference is given to those of the formula ##STR23## wherein D' denotes a radical of the formulae ##STR24## wherein R₁₄ and R₁₅ independently of each other stand for hydrogen, alkyl, alkoxy, fluorine, chlorine, bromine or NH--Ac,

Ac stands for alkyl-carbonyl, -sulphonyl or -carbamyl, benzoyl, toluoyl, phenyl- or tolyl-sulphonyl or -carbamyl or optionally substituted triazinyl,

R₁₆ stands for hydrogen, alkyl, alkoxy, chlorine, bromine, NH--Ac or a radical of the formulae ##STR25## R₁₇, R₁₈ and R₁₉ independently of one another stand for hydrogen, alkyl, alkoxy, chlorine or bromine,

R₁₉ additionally stands for a free valency,

Q₁ stands as mentioned above for NH, N--alkyl, O or S,

Q₂ stands for CH₂, R'₁₃ N, O or S,

R'₁₃ as mentioned above stands for hydrogen, alkyl, alkyl-carbonyl or -sulphonyl or benzoyl,

T stands for a direct bond or bridge member,

K stands for a radical of the formulae ##STR26## with R₂₁ =H, halogen such as chlorine or bromine, OH, alkyl, alkoxy, alkylamino, phenylamino, acylamino, SO₂ NH₂, SO₂ NH--alkyl, SO₂ N(alkyl)₂ ; ##STR27## with R₂₂ ═H, halogen such as chlorine or bromine, alkyl, alkoxy, phenoxy, acylamino, SO₂ NH₂, SO₂ --NH--alkyl, SO₂ N(alkyl)₂, NO₂, CN and R₂₃ =H, halogen such as chlorine or bromine, alkyl, alkoxy; ##STR28## with R₂₂ and R₂₃ in the abovementioned denotation and

R₂₄ =COCH₃, CO--phenyl, COO--alkyl, CONH₂ or CN; ##STR29## with R₂₅ ═CH₃, COOCH₃, COOC₂ H₅ and

Q₁, R₂₂ and R₂₅ in forenamed denotation; ##STR30## with R₂₆ =H, halogen such as chlorine or bromine, COO--alkyl, CONH₂, CN,

R₂₇ =H, alkyl, phenyl, benzyl or NH--C₂ --C₄ --alkylene--G,

wherein

G denotes dialkylamino, 1-piperidino, 1-morpholino, 1-piperazino, 1-pyrrolidino, hydroxyl or C₁ -C₄ --alkoxy, ##STR31## with Q₁ =independently of each other the abovementioned denotation,

Q₃ ═O, S, NH, N--CN, N--phenyl,

R_(28'), R₂₉ =H, alkyl, phenylene--R₂₁,

R₃₀ =H, alkyl, phenylene--R₂₁, alkylamino or dialkylamino,

Y', m' and n' have the denotation mentioned under the formula (IV),

Z" has the denotation mentioned under the formula (XIV) and

p has the denotation mentioned under the formula (XIX).

Preferred bridge members are: C₁ -C₄ --alkylene, CH═CH--, --O--, --S--, >SO₂, --NH--, >N--alkyl, --NH--NH--, --N═N--, >C═O, --CO--CO--, --NH--CO--, --O--CO--, --NH--SO₂ --, --O--SO₂ --, --CO--NH--phenylene--NH--CO--, --S--S--, ##STR32## isopropylidene, cyclohexylidene, --O--T₁ --O-- with T₁ ═>C═O, C₂ -C₆ --alkylene, ##STR33## wherein R₂₀ stands, for example, for F, Cl, NH₂, alkyl, alkoxy, phenyl or a group NH--C₂ --C₄ --alkylene--G

in which

G denotes dialkylamino, 1-piperidino, 1-morpholino, 1-piperazino, 1-pyrrolidino, hydroxyl or C₁ -C₄ --alkoxy,

    --NH--T.sub.2 --NH--

wherein

T₂ stands for T₁ and in addition for >C═S, --CO--CH₂ --CH₂ --CO--, --CO--CH═CH--CO--, or --CO--phenylene--CO--.

Of the dyestuffs of the formula (XX), preference is given to those in which

m'═O

alkylene=methylene or ethylene and in the azo chromophore of which, namely in D'--(--N═N--K')_(p), alkyl stands for C₁ -CH₄ --alkyl, preferably methyl or ethyl, and alkoxy stands for C₁ -C₄ --alkoxy.

The invention also provides basic triarylmethane dyestuffs of the formula ##STR34## in which M₁ denotes p-phenylene optionally substituted by alkyl or halogen,

M₂ denotes p-phenylene optionally substituted by alkyl, alkoxy or halogen,

R₃₁ denotes H, alkyl, cycloalkyl, aryl, heteroaryl or aralkyl and

R₃₂ denotes H, alkyl or aralkyl and

R₃₁ and R₃₂, possibly with inclusion of a further heteroatom from the group O, S, NH and N--alkyl, can be cyclised to form a saturated ring or the radical R₃₂ can be cyclised with the o-position C atom of M₁ to form a partially saturated, heterocyclic ring,

R₃₃ denotes H, halogen, alkyl, alkoxy or NR₃₁ R₃₂,

L denotes an aromatic radical of the following denotation: p-phenylene-R₃₄, optionally substituted by alkyl or halogen,

1,4-naphthylene-R₃₄ optionally substituted by alkyl or halogen with

R₃₄ =H, alkyl, alkoxy, aryloxy or NR₃₁ R₃₂, ##STR35## with R₃₅ =H, alkyl,

R₃₆ =H, alkyl, phenyl which is optionally substituted by alkyl, alkoxy or halogen, COOalkyl, COONH₂ A.sup.(-) denotes an anion in case the charge of the chromophore is not compensated by the radical Y, and

Y, Z, m and n have the denotation indicated under the formula (I).

They dye paper in bright red, violet, blue and green shades.

In the formula (XXI), preferably alkyl stands for C₁ -CH₄ --alkyl optionally substituted by hydroxyl, acyloxy, C₁ -C₄ --alkoxy, halogen or CN, aryl stands for phenyl or naphthyl optionally substituted by the radicals mentioned in the case of the formulae (II) and (III), heteroaryl stands for an aromatic radical having a five- or six-membered heterocyclic structure which can contain N, O and/or S as heteroatoms, and halogen stands for chlorine and bromine.

Of the triarylmethane dyestuffs of the formula (XXI), preference is given to those of the formula ##STR36## in which M'₁ denotes p-phenylene optionally monosubstituted by alkyl, alkoxy or halogen,

R'₃₁ denotes benzyl or aryl,

R'32 denotes H, methyl, ethyl or benzyl,

L' denotes an aromatic radical of the following denotation:

p-phenylene--R'₃₄ optionally monosubstituted by C₁ -C₄ --alkyl or halogen,

1,4--naphthylene--R'₃₄ with R'₃₄ ═H, alkyl, alkoxy or NR'₃₁ R'₃₂, ##STR37## with R'₃₅ =H or methyl and with R'₃₆ =methyl or phenyl

Y" denotes a sulpho, sulphonate, carboxyl or carbonate group and

Z, m, and n' denote what was indicated under the formula (IV).

In the preferred dyestuffs of the formula (XXII), alkylene stands for methylene or ethylene, aryl stands for phenyl optionally substituted by halogen, C₁ -C₄ --alkyl, C₁ -C₄ --alkoxy, phenoxy or tolyloxy, for naphthyl or ##STR38## with R₁₈ as mentioned above H, C₁ -C₄ --alkyl,

C₁ -C₄ --alkoxy, chlorine or bromine and

Q₁ as mentioned above NH, N--alkyl, O or S.

Of the dyestuffs of the formula (XXII) particular preference is given to those of the formula ##STR39## with R"₃₁ =aryl

aryl having in particular the denotations referred to above as preferred.

Preferred dyestuffs are likewise basic phthalocyanine dyestuffs of the formula ##STR40## wherein Pc denotes a radical of a phthalocyanine dyestuff and

Me denotes Cu or Ni,

Y, Z, m and n have the denotation indicated under the formula (I) and preferably the denotation of Y', Z', m' and n' indicated under the formula (IV), and

m is smaller than n.

The preparation of dyestuffs (I), (XIII), (XVII), (XIX), (XXI) and (XXIV) is effected for example by reaction of corresponding chromophores having the radical

    --CH.sub.2 --NH--CO--Alkylen--Halogen                      (XXV)

with a thiourea of the formula ##STR41##

Compounds having the radical (XXV) are common knowledge. They are prepared by reacting the dyestuff basic structure in concentrated sulphuric, phosphoric or polyphosphoric acid either

(a) with an N-methylolamide of the formula

    HO--CH.sub.2 --NH--CO--Alkylen--Halogen                    (XXVIII)

preferably N-methylolchloroacetamide, or

(b) with a mixture of paraformaldehyde and an amide of the formula

    NH.sub.2 --CO--Alkylen--Halogen                            (XXIX)

preferably chloroacetamide or -bromopropionamide.

It is also possible first to react starting materials for the dyestuffs--for example in the case of azodyestuffs diazo or coupling components--with compounds (XXVIII) or (XxLx). Completed dyestuff synthesis is then followed by reaction with the thioureas (XXVI) or (XXVII).

When completed, the reaction solutions of the dyestuffs can be used directly for dyeing, or the dyestuffs are separated off by precipitating, salting out or neutralising or basifying the solution and are dried.

Dyestuffs (I), (XIII), (XVII), (XIX), (XXI) and (XXIV) can find utility as readily water-soluble compounds from aqueous acid solution for dyeing a very wide variety of substrates which are dyeable with cationic dyestuffs, such as cellulose materials, polyacrylonitrile, acid-modified nylon and polyester, wool and leather.

The dyestuffs are highly suitable in particular for dyeing a very wide variety of papers in bright shades.

The degrees of exhaustion obtained in dyeing are high, as evidenced by the small amount of dyestuff in the waste water. The dyeings have good to very good light- and wetfast properties. They are very resistant to the action of water, alcohols, soaps or aqueous organic acids.

EXAMPLE 1

(a) 236 g of the compound ##STR42## and 200 g of N-methylolchloroacetamide are added at 0°-5° C. as a mixture to 1.1 liters of 90% strength sulphuric acid, which is followed by stirring at this temperature for 15 hours. The reaction solution is discharged onto ice, and the solids are filtered off with suction, washed with water until neutral and dried. This gives 394 g of the compound ##STR43##

(b) 50 g of this compound in a boiling mixture of 500 ml of water and 65 g of glacial acetic acid are made to react with 30 g of thiourea for 1 hour. This gives a deep blue solution containing about 10% of the compound ##STR44##

After cooling down, the solution can be discharged directly onto paper. Combined with very good exhaustion properties the result obtained is blue dyeings with very good lightfastness and excellent wetfastness properties. λ_(max) 584 nm in methanol. IR (KBr): 1630, 1545, 1335, 1110 cm⁻¹.

In place of the acetic acid specified it is also possible to use to the same effect other acids, of which may be mentioned here for example formic acid, lactic acid and methanesulphonic acid.

If 50 g of the compound of Example 1a are reacted with thioureas of the general formula (XXIV), the result obtained analogously to Example 1b is solutions of the corresponding isothiuronium salts of the general formula ##STR45## of which examples are listed in Table 1 together with the amount of the associated thiourea to be used.

                  TABLE 1                                                          ______________________________________                                                Amount of the                                                                  corresponding                     .sup.λ max .sup.[nm]           Example                                                                               thiourea in g                                                                              R.sub.1                                                                              R.sub.2                                                                              R.sub.3                                                                              R.sub.4                                                                            in Methanol                           ______________________________________                                         2      36          H     CH.sub.3                                                                             H     H   585                                   3      41          H     CH.sub.3                                                                             CH.sub.3                                                                             H   587                                   4      74          H     n-C.sub.4 H.sub.9                                                                    n-C.sub.4 H.sub.9                                                                    H   582                                   5      45          H     Allyl H     H   585                                   6      60          H     Phenyl                                                                               H     H   585                                   7      40          H     --CH.sub.2 --CH.sub.2 --                                                                 H   587                                     8      45          H     --CH.sub.2 --CH.sub.2 --                                                                 H   584                                                              CH.sub.2                                              ______________________________________                                    

The solutions of the abovementioned compounds can be used to obtain dyeings which in hue and fastness properties correspond to those of Example 1b.

EXAMPLE 9

(a) If 236 g of the compound ##STR46## and 100 g of N-methylolchloroacetamide are added at 0°-5° C. in the form of a mixture to 1.1 liters of sulphuric acid and the procedure followed is otherwise as in Example 1a, the result obtained is 315 g of the compound ##STR47##

(b) 78 g of this compound in a boiling mixture of 800 ml of water and 23 g of methanesulphonic acid are reacted with 20 g of thioruea for one hour. The result obtained is a deep blue solution containing about 10% of the compound ##STR48##

After cooling down, the solution can be dyed up directly onto paper. Combined with very good exhaustion properties the result obtained is violet dyeings having very good lightfastness and excellent wetfastness properties. λ_(max) in methanol 586 nm.

If 78 g of the compound of Example 9a are made to react with the thioureas of the formula (XXV) which are indicated in Table 1 in amount and substitution pattern, the result obtained in an analogous manner is the corresponding compounds of the general formula ##STR49##

They show the same spectrum of properties as the abovementioned compound.

EXAMPLE 10

(a) 236 g of the compound ##STR50## and 150 g of N-methylolchloroacetamide are added at 0°-5° C. in the form of a mixture to 1.1 liters of 90% strength sulphuric acid, which is followed by stirring at this temperature for 15 hours. The reaction solution is discharged onto ice, the solids are filtered off with suction, washed with water until neutral and dried. The result obtained is 394 g of the compound ##STR51##

(b) 100 g of this compound are made to react in a boiling mixture of 980 ml of water and 120 ml of glacial acetic acid with 50 g of thiourea for 1 hour. The result obtained is a deep blue solution containing about 10% of the compound ##STR52## After cooling down, the solution can be dyed up directly onto paper. Combined with very good exhaustion properties the result obtained is bluish-violet dyeings having very good lightfastness and excellent wetfastness properties. λ_(max) in methanol 586 nm: IR (KBr): 1635, 1545, 1335, 1115 cm⁻¹.

If the dioxazines listed in Table 2 below are reacted in the amounts indicated there in place of the dioxazine mentioned in Example 10a with 150 g of N-methylolchloroacetamide as described in this example, the result obtained is compounds of the general formula ##STR53##

If 100 g of compounds of this type are reacted in each case with the tabulated amounts of thiourea in accordance with the process described in Example 10b, the result obtained is approximately 10% strength solutions of dyestuffs of the general formula: ##STR54##

The hues on paper for these substances are listed in Table 2.

                                      TABLE 2                                      __________________________________________________________________________      pleExam-                                                                           ##STR55##                                 Dioxazineused in                                                                     ureaThio-                                                                          Hue on                __________________________________________________________________________                                                             paper                  11                                                                                  ##STR56##                                258   47  bluish violet          12                                                                                  ##STR57##                                208   54  violet                 13                                                                                  ##STR58##                                247   50  reddish violet         14                                                                                  ##STR59##                                185   58  reddish violet         15                                                                                  ##STR60##                                224   52  reddish violet         16                                                                                  ##STR61##                                262   47  reddish blue           17                                                                                  ##STR62##                                241   49  bluish                 __________________________________________________________________________                                                             violet            

EXAMPLE 18

(a) If a mixture of 208 g of the compound ##STR63## and 300 g of N-methylolchloroacetamide is added at 0°-5° C. to 1.1 liters of 90% strength sulphuric acid and the procedure followed is otherwise as in Example 1a, the result obtained is 351 g of the compound ##STR64##

(b) If 42 g of this compound are reacted in a boiling mixture of 440 ml of water and 54 g of glacial acetic acid with 20 g of thiourea for 1 hour, the result obtained is a deep blue solution containing about 10% of the compound ##STR65## It corresponds to the compound of Example 1b in its hue and fastness properties. λ_(max) in methanol 583 nm.

If 42 g of the compound of Example 18a are made to react with the thioureas of the formula (XXV) indicated in Table 1 in amount and substitution pattern, the result obtained in analogous manner is the corresponding compounds of the general formula ##STR66## They have the same spectrum of properties as the above-mentioned compound.

EXAMPLE 19

(a) A mixture of 48 g of paraformaldehyde and 204 g of bromoacetamide is added at 0°-5° C. to 1.1 liters of 98% strength sulphuric acid. The mixture is stirred at 40° C. for 30 minutes and is cooled down again to 0°-5° C., and 236 g of the compound ##STR67## are added at this temperature. The mixture is stirred at room temperature for 15 hours and is worked up as in Example 1a to give 421 g of the following compound ##STR68##

(b) If 55 g of this compound are reacted at 170° C. with 30 g of 2-mercaptobenzimidazole in 400 ml of nitrobenzene and the reaction mixture is allowed to cool down after 4 hours, the result obtained on filtering with suction and drying is 73 g of the compound ##STR69##

Dissolved in 5% strength lactic acid it produces bluish-violet dyeings which in the level of fastness properties correspond to the compound of Example 1b.

EXAMPLE 20

If 55 g of the compound of Example 19a are reacted with 46 g of N,N'-diphenylthiourea as in Example 19b, the result obtained is 83 g of the compound ##STR70## It resembles the forenamed compound in its properties.

EXAMPLE 20a

If 55 g of the compound of Example 19a are reacted at 140° C. with 27 g of N,N',N",N"'-tetramethylthiourea in 400 ml of nitrobenzene, the result obtained analogously to Example 19b is 69 g of the compound ##STR71##

Dissolved in 10% strength acetic acid it produces blue dyeings which correspond in fastness level to the compound of Example 1b.

EXAMPLE 21

(a) 11.9 g (30.0 mmol) of the compound ##STR72## are added at 0°-5° C. in the form of a mixture with 14.3 g (116 mmol) of N-methylolchloroacetamide to 60 ml of 100% strength sulphuric acid. The mixture is stirred at 0°-5° C. for 2 hours, at room temperature overnight and finally at 40°-45° C. for 2 hours. The mixture is discharged onto 300 g of ice, and the precipitated product is filtered off with suction and is washed with water until sulphate-free and neutral. Drying at 60° C. leaves in quantitative yield 20.5 g of the compound ##STR73##

Cl: calculated 14.07%, found 14.1%.

(b) 6.8 g of the preceding compound (10.0 mmol) are maintained at 95°-100° C. together with 3.1 g of thiourea in a mixture of 70.2 ml of water and 8.9 g of glacial acetic acid for 1 hour. The result obtained is a red solution. Combined with very good exhaustion properties the result obtained on paper is red dyeings having good wetfastness properties. _(max) (water/glacial acetic acid 2:1) 499 nm.

The following general reaction procedure, which corresponds to the preparative procedure of Example 21, can be used to prepare the compounds of Examples 22-167. The variables marked by * are tabulated.

GENERAL REACTION PROCEDURE

(a) A mixture of 30 mmol of a dyestuff * with * g of N-methylolchloroacetamide is introduced at 0°-5° C. into * ml of *% strength sulphuric acid without lumping, and the mixture is stirred at 0°-5° C. for 2 hours. The mixture is then stirred 1st at *°C. overnight and finally if necessary 2nd at *°C. for * hours. When the reaction has ended, the mixture is discharged onto ice, and the product is filtered off with suction, washed until neutral and dried. This gives a product having n * --CH₂ --NH--CO--CH₂ --Cl radicals.

(b) 10 mmol of the above product are reacted at 95°-100° C. with 1.5 n mmol of thiourea by heating in dilute acetic acid for 1 hour. The result is a compound which can be used directly for dyeing. The hue of its dyeing on paper is tabulated. The reaction batches are to be chosen such that at 100% dyestuff yield the completed solution contains 10-15% of dyestuff and 10% of glacial acetic acid. In many cases the acetic acid content can be reduced to 5%, if desired even 1%. Contents of above 10% or the absence of acid generally give no advantages. Instead of acetic acid it is also possible to use other acids mentioned in the general part. It is frequently of advantage to use emulsifiers and/or other additives for increasing the stability of the solution.

If ethylenethiourea is used in place of thiourea, the products obtained are generally similar. In the latter case, however, there are instances when the wetfastness properties are even a little better. Instead of using thiourea it is also possible to use N-methylthiourea, N,N'-dimethylthiourea, N-alkylthiourea or N-phenylthiourea. The products thus obtained are substantially similar to the abovementioned ones.

             Example       ##STR74##       MCA g ml%H.sub.2       SO.sub.4overnighth°C.1st2ndStirring n Hue                   22       ##STR75##       4.5 60 100 Rt 0,5 100  1 yellow  23 " 8.8 60 100 RT 1 100  1.7 yellow      24       ##STR76##       8.9 60 100 RT 3 45 2 yellow       25      ##STR77##       4.5 60 100 RT 2 70 1 yellow       26      ##STR78##       4.5 60 100 RT 2 60 1 yellow       27      ##STR79##       9.0 60 100 RT 3 45 2 yellow       28      ##STR80##       4.5 60 100 RT 2 70 1 yellow        29      ##STR81##       4.5 60 100 RT 2 70 1 yellow       30      ##STR82##       7.1 60 100 RT 2 60 1.5 yellow       31      ##STR83##       4.5 60 100 RT 2 60 1 yellow

             Example       ##STR84##       MCA g ml%H.sub.2       SO.sub.4 overnighth°C.1st2ndStirring n Hue                  32      R.sub.21 = 4-Chloro 9.5 60 100 RT 2 45 2 red 33 4-Bromo 9.5 70 100 RT 2      45 2 red 34 4-Methyl 14.3 60 100 RT 2 45 2.6 red 35 4-Ethyl 14.3 60 100      RT 2 45 2.7 red 36 4-Methoxy 14.3 60 100 RT 2 45 3 red 37 8-Methylamino      12.0 60 100 RT 2 45 2.5 red 38 8-Anilino 14.3 80 100 RT 2 45 3 39      8-Hydroxy 14.3 60 100 RT 2 45 3 red

             Example       ##STR85##       MCA g ml%H.sub.2       SO.sub.4 overnighth°C.1st2ndStirring n Hue        40 Ar = Phenyl 9      .3 110   96 RT 3 50 2 yellow 41 o-Methoxy-phenyl 8.4 90  90 RT 1 40 2      yellow 42 o-Ethyl-phenyl 8.4 90       90 RT 2 45 2 yellow 43 2,4-Dichloro-phenyl 4.5 90 100 RT 0.5 90 1      yellow 44 o-Cyano-phenyl 9.5 90 100 RT 2 60 2 yellow 45 o-Chloro-phenyl      9.5 100  100 RT 2 60 2 yellow 46 p-Chloro-phenyl 4.5 100  100 RT 0.5 90      1 yellow 47 p-Bromo-phenyl 4.5 100  100 RT 0.5 90 1 yellow 48 p-Tolyl      8.4 90  90 RT 1 40 2 yellow 49 m-Sulfamido-phenyl 4.5 90 100 RT 0.1 90 1      yellow 50 p-Nitro-phenyl 4.5 110        100 RT 0.5 90 1 yellow 51 p-Amino-phenyl 4.5 80 100 RT 0.5 90 1      yellow

      ##STR86##        H.sub.2 SO.sub.4 1st2ndStirring Example Q.sub.1 R.sub.25 Ar MCA g ml % o      vernight h °C. n Hue        52 O CH.sub.3 Phenyl 8.4 90 100 RT 2 45 2 yellow 53 O CH.sub.3      o-Cyano-phenyl 9.2 90 100 RT 2 60 2 yellow 54 O CH.sub.3 o-Chloro-phenyl      9.0 90 100 RT 2 60 2 yellow 55 O CH.sub.3 p-Bromo-phenyl 4.5 90 100 RT      0.5 100  1 yellow 56 O CH.sub.3 o-Methoxy-phenyl 8.4 90 100 RT 2 45 2      yellow 57 O CH.sub.3 p-Tolyl 8.4 90 100 RT 2 45 2 yellow 58 O CH.sub.3      p-Nitro-phenyl 4.5 90 100 RT 0.5 100        1 yellow 59 O CH.sub.3 m-Sulfamido-phenyl 4.5 90 100 RT 0.5 100  1      yellow 60 O CH.sub.3 p-Sulfamido-phenyl 4.5 90 100 RT 0.5 100  1 yellow      61 O CH.sub.3 p-Amino-phenyl 4.5 90 100 RT 0.5 100  1 yellow 62 O      CH.sub.3 2,4-Dimethyl-phenyl 8.4 90 100 RT 2 45 2 yellow 63 O COOCH.sub.3       Phenyl 8.4 90 100 RT 2 45 2 yellow 64 O COOC.sub.2 H.sub.5 Phenyl 8.4      90100 RT 2 45 2 yellow 65 O CONH.sub.2 Phenyl 8.4 90 100 RT 2 45 2      yellow 66 O NH.sub.2 Phenyl 8.4 90 100 RT 2 45 2 yellow 67 NH CH.sub.3      Phenyl 8.4 90 100 RT 2 45 2 yellow

             Example       ##STR87##       MCA g ml%H.sub.2       SO.sub.4 overnighth°C.1st2ndStirring n Hue                  68       ##STR88##       8.4  100 100 RT 2 45 2 yellow       69      ##STR89##       8.4 100  100 RT -- -- 2 golden yellow       70      ##STR90##       8.4 100  100 RT 1 45 2 golden yellow       71      ##STR91##       8.4 100  100 RT 1 45 2 golden yellow       72      ##STR92##       8.4 100  100 RT 1 45 2 yellow       73      ##STR93##       9.5 100  100 RT 1 60 2 golden yellow       74      ##STR94##       8.4 100  100 RT 2 45 2 golden yellow       75      ##STR95##       4.5 100  100 RT 0.5 100  1 golden yellow       76      ##STR96##       4.5 100  100 RT 0.5 100  1 golden yellow       77      ##STR97##       4.5 100  100 RT 0.5 100  1 golden yellow       78      ##STR98##       14.5 100  100 RT 2 45 3 golden yellow       79      ##STR99##       9.0 70 100 RT 2 45 2 golden yellow       80      ##STR100##       9.0 80 100 RT 0.5 100  2 orange       81      ##STR101##       11.2 120  100 RT 4 45 2 yellow       82      ##STR102##       12.0 100   96 RT -- -- 3 bluish red   Ar = Phenyl 83 p-Methoxyphenyl      12.0 100   96 RT -- -- 3 bluish red 84 o-Methoxyphenyl 12.0 100   96 RT      -- -- 3 bluish red 85 1-Naphthyl 11.3 100   96 RT -- -- 3 bluish      red

      Stirring  H.sub.2 SO.sub.4 1st 2nd  Example D(NNK).sub.2 MCA g ml %      overnight h °C. n Hue        86       ##STR103##       16.0 150   90 RT -- -- 4 yellow       ##STR104##        87      ##STR105##       16.0 150   90 0-5 -- -- 4 yellow       88 β                             Naphthol 16.0 80  96 RT -- -- 3,5      bluish red       89      ##STR106##       16.0 80  96 RT -- -- 4 bluish red   K = β-Naphthol       90      ##STR107##       16.0 100   96 RT -- -- 4 blue       91      ##STR108##       16.0 100   96 RT -- -- 4 blue       92      ##STR109##       16.0 100   96 RT -- -- 3,2 red   K = β-Naphthol       93      ##STR110##       16.0 80  96 RT -- -- 3,7 orange   K = β-Naphthol       94      ##STR111##       16.0 100   96 RT -- -- 4 red       95      ##STR112##       16.0 100   96 RT -- -- 4 orange-red       96      ##STR113##       16.0 80  96 RT -- -- 4 golden yellow       97      ##STR114##       8.0 80 100 RT 2 45 2 yellow       98      ##STR115##       16.0 80  96 RT -- -- 3,5 red   K = β-Naphthol       99      ##STR116##       16.0 100   96 RT -- -- 4 bluish red   100       ##STR117##       16.0 100   96 RT -- -- 4 bluish red  101       ##STR118##       16.0 80  96 RT -- -- 4 golden yellow  102       ##STR119##       16.0 80  90 0-5 -- -- 4 yellow 103       ##STR120##       16.0 80  90 0-5 -- -- 4 yellow  104       ##STR121##       16.0 100  96  RT -- -- 4 red   K = β-Naphthol  105       ##STR122##       16.0 100   96 RT -- -- 4 bluish red       ##STR123##        106       ##STR124##       16.0 80  90 0-5 -- -- 4 golden yellow  107       ##STR125##       16.0 80  96 RT -- -- 2 red   K = β-Naphthol  108       ##STR126##       16.0 100   96 RT -- -- 4 bluish red       ##STR127##        109       ##STR128##       16.0 120   90 RT -- -- 4 yellow       ##STR129##        110       ##STR130##       8.0 120   90 RT -- -- 2 yellow  111       ##STR131##       16.0 100   96 RT -- -- 4 orange  112       ##STR132##       16.0 100  100 RT -- -- 4 golden yellow       ##STR133##        113       ##STR134##       16.0 100  100 RT 1 45 4 violet   K = β-Naphthol  114       ##STR135##       16.0 80  96 RT 2 45 4 orange   K = β-Naphthol       115      ##STR136##       16.0 100   96 RT -- -- 4 red  116       ##STR137##       16.0 100   90 0-5 -- -- 4 yellow       ##STR138##        117       ##STR139##       16.0 80 100 RT 2 45 4 red  K = β-Naphthol  118       ##STR140##       8.4 100  100 RT 2 45 2 red  119       ##STR141##       8.4 100  100 RT 2 60 2 orange-red  120  Indigo 8.2 100  100 RT 2 60 2      blue  121       ##STR142##       8.2 100  100 RT 2 60 2 blue  122  Thioindigo 8.2 100  100 RT 2 60 2      violet  123       ##STR143##       8.0 80  96 RT -- -- 2 red   R = CH.sub.3  124       ##STR144##       15.0 80  90 RT -- -- 3,5 red  125       ##STR145##       15.0 80  90 RT -- -- 3,5 red  126  Indanthrone 8.0 80 100 RT 2 45 2      blue 127  Violanthrone 8.0 80 100 RT 2 45 2 blue 128  Isoviolanthrone      8.0 80 100 RT 2 45 2 violet   129       ##STR146##       8.0 80 100 RT 2 45 2 blue   R = CH.sub.3 130  RR = (CH.sub.2 ).sub.2      8.0 80 100 RT 2 45 2 blue  131       ##STR147##        8.0 80 100 RT 2 45 2 orange  132       ##STR148##       8.0 80 100 RT 2 45 2 red  133       ##STR149##       12.0 80 100 RT 2 45 3 red  134       ##STR150##       12.0 100  100 RT 2 45 3 olive  135       ##STR151##       8.0 100  100 RT 2 45 2 yellowish green  136       ##STR152##       8.0 100  100 RT 2 45 2 olive  137       ##STR153##       12.2 120  100 RT 2 60 3 olive  138       ##STR154##       8.0 100  100 RT 2 45 2 yellow  139       ##STR155##       8.0 80 100 RT -- -- 2 red  140       ##STR156##       8.6 80  85 RT -- -- 2 reddish violet  141       ##STR157##       8.3 80  90 RT -- -- 2 reddish violet  142       ##STR158##       8.3 80  90 RT -- -- 2 red  143       ##STR159##       8.2 40 100 RT -- -- 2 yellow  144       ##STR160##       4.0 60 100 RT 2 60 1 yellow  145       ##STR161##       4.0 60 100 RT 2 60 1 yellow  146       ##STR162##       8.0 60 100 RT -- --  yellow  147       ##STR163##       4.4 70 100 0-5 -- -- 1 red  148       ##STR164##       8.3 70 100 0-5 -- -- 2 bluish green  149       ##STR165##       8.3 90  90 0-5 -- -- 2 bluish red  150       ##STR166##       12.0 70 100 RT 2 45 2.5 yellow       ##STR167##        151   Ar = Phenyl 15.7 150  100 RT -- -- 4 blue 152  p-Tolyl 12.4 130      100 RT -- -- 3 blue 153  m-Tolyl 12.4 130  100 RT -- -- 3 blue 154      p-Anisyl 15.7 150  100 RT -- -- 4 blue 155  o-Anisyl 15.7 150  100 RT --      -- 4 blue 156  p-Phenethyl 15.7 150  100 RT -- -- 4 blue 157        p-Chlorophenyl 12.5 150  100 RT 3 70 3 blue 158  1-Naphthyl 15.7 150      100 RT -- -- 4 blue  159       ##STR168##       12.5 150  100 RT 3 70 3 blue  160       ##STR169##       12.5 150  100 RT -- -- 3 blue  161       ##STR170##       8.0 100  100 RT -- -- 2 green  162       ##STR171##       8.0 100  100 RT -- -- 2 green  163       ##STR172##       8.0 100  100 RT -- -- 2 violet  164       ##STR173##       12.0 150  100 RT -- -- 3 blue  165       ##STR174##       8.0 100  100 RT -- -- 2 greeny blue  166       ##STR175##       8.0 100  100 RT -- -- 2 blue  167       ##STR176##       8.0 100  100 RT -- -- 2 blue  168       ##STR177##       8.2 60 100 RT 2 40 2 orange  169       ##STR178##       8.0 60 100 RT -- -- 2 red

EXAMPLE 170

(a) 61.0 g of 95% pure copper phthalocyanine are added at 100° C. to 800 g of polyphosphoric acid. 18.0 g of N-methylolchloroacetamide (MCA) are added, and the temperature is raised to 125°-130° C. A further 60.0 g of MCA are then added in portions of 10.0 g every 15 minutes, and the mixture is stirred at 125°-130° C. for hours. The reaction batch is then stirred into 2.1 liters of water at 50° C. After cooling down to 40° C. by stirring the mixture is filtered with suction, and the filter cake is washed with water until neutral and dried at 60° C. This gives 100.5 g of the compound

    CuPc--(CH.sub.2 --NH--CO--CH.sub.2 --Cl).sub.4

(b) 20.0 g of the above compound in 250 ml of 15% strength acetic acid are treated with 20.6 g of N-methyl-N,N'-trimethylenethiourea, and the mixture is maintained at 90°-95° C. for 2 hours. 120 ml of glacial acetic acid are then added and the solution is stirred until cold. It dyes paper in a turquoise colour and contains the compound ##STR179## λ_(max) (water/glacial acetic acid 2:1) 603 nm.

EXAMPLE 171

If the compound of Example 170(a) is reacted with 16.0 g of ethylenethiourea in place of N,N'-trimethylenethiourea and if otherwise the procedure of Example 170(b) is followed, this gives a solution of the compound ##STR180## which resembles the above in its properties.

EXAMPLE 172

If copper phthalocyanine is replaced by the corresponding nickel compound and if otherwise the procedures of Example 170(a) and 171 are followed, this gives a solution of the compound ##STR181## Hue on paper bluish-green.

EXAMPLE 173

(a) 50.0 g of dehydrothiotoluidine and 31.0 g of N-methylolchloroacetamide are added at 0°-5° C. in the form of a mixture of 300 ml of monohydrate. The mixture is stirred at this temperature for a further 2 hours, at room temperature overnight and finally at 100° C. for 1 hour. Cooling down to 30° C. is followed by discharge onto 2 kg of ice, filtering with suction, washing until neutral and drying. This gives the compound ##STR182##

(b) If this compound is diazotised in a conventional manner and coupled onto barbituric acid, the result obtained is ##STR183##

(c) Reaction of this compound with thiourea in accordance with the general reaction method part b leads to a compound ##STR184## which corresponds to that of Example 22 in all properties.

EXAMPLE 174

On diazotising the compound of Example 173(a), coupling onto cyaniminobarbituric acid and reacting with ethylenethiourea in accordance with the general reaction method part b the result obtained is ##STR185## The solution dyes paper yellow. 

What is claimed is:
 1. A dyestuff of the formula ##STR186## in which F is an azine, phthalocyanine or quinophthalone chromophore,Z is a radical of the formula ##STR187## R₁ -R₄ each is hydrogen, alkyl, cycloalkyl, alkenyl, aryl, aralkyl or a heterocyclic structure or R₂ and R₃ are an optionally substituted amino group or together form a ring or R₁ with R₂ and/or R₃ with R₄ form a ring, A.sup.(-) is an anion, Y is an anionic group, m is 0-2 and n is 1-6,and wherein the chromophore and said radicals can carry further substituents provided that the total number of anionic substituents is smaller than the total number of quaternary and quaternizable amino groups.
 2. A dyestuff according to claim 1, in whichZ is a radical of the formula ##STR188## R₂ and R₃ each is hydrogen, C₁ -C₄ --alkyl, C₂ -C₄ --alkenyl, cyclohexyl, phenyl or tolyl or R₂ and R₃ together are ethylene, trimethylene, vinylene or o-phenylene, Y is a sulpho or sulphonate group. m is 0-1 and n is 1-5, and the number of sulpho groups is smaller than the number of quaternary and quaternizable amino groups.
 3. A dyestuff according to claim 1 of the formula ##STR189## in which X₁ and X₂ independently of each other denote hydrogen, halogen, alkyl, cycloalkyl, aryl, alkoxy, aryloxy, CN, CONH₂, CONH--alkyl, CON(alkyl)₂, CONH--aryl, COO--alkyl, NH--CO--alkyl, NH--aryl, NH--CO--aryl or NH--CO--heteroaryl andB₁ and B₂ independently of each other denote a benzene ring or a fused-on ring system having 2 to 4 carbocyclic and/or heterocyclic rings,and the cyclic and acyclic radicals and the rings B₁ and B₂ can carry further substituents, with the proviso that the total number of anionic substituents is smaller than the total number of quaternary and quaternizable amino groups.
 4. A dyestuff according to claim 1 of the formula ##STR190## wherein X₁ and X₂ independently of each other denote hydrogen or halogen,B₁ and B₂ independently of each other denote a group from the series benzene, naphthalene, fluorene, phenothiazine, diphenylene sulphide, phenanthrene, anthracene, fluorenone, carbazole or anthraquinone, and n denotes 2-5. 